package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ChargeOrderItem;
import com.zshan.clinic.database.model.ChargeOrderItemExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ChargeOrderItemMapper extends SuperMapper {
    long countByExample(ChargeOrderItemExample example);

    int deleteByExample(ChargeOrderItemExample example);

    int deleteByPrimaryKey(Long itemId);

    int insert(ChargeOrderItem row);

    int insertSelective(ChargeOrderItem row);

    List<ChargeOrderItem> selectByExample(ChargeOrderItemExample example);

    ChargeOrderItem selectByPrimaryKey(Long itemId);

    int updateByExampleSelective(@Param("row") ChargeOrderItem row, @Param("example") ChargeOrderItemExample example);

    int updateByExample(@Param("row") ChargeOrderItem row, @Param("example") ChargeOrderItemExample example);

    int updateByPrimaryKeySelective(ChargeOrderItem row);

    int updateByPrimaryKey(ChargeOrderItem row);
}